import Layout from '@/layout'

export default [
  {
    path: '/admin/admin_console',
    component: Layout,
    meta: {
      title: '控制台',
    },
    children: [
      {
        path: '',
        name: 'admin_console',
        component: () => import('@/views/admin/admin_console'),
        meta: {
          title: '控制台',
          sidebar: false,
          breadcrumb: false,
          activeMenu: '/admin/admin_console'
        }
      }
    ]
  },
  {
    path: '/admin/admin_team_manage',
    component: Layout,
    meta: {
      title: '组织管理',
    },
    children: [
      {
        path: '',
        name: 'admin_team_manage',
        component: () => import('@/views/admin/admin_team_manage'),
        meta: {
          title: '组织管理',
          sidebar: false,
          breadcrumb: false,
          activeMenu: '/admin/admin_team_manage'
        }
      }
    ]
  },
  {
    path: '/admin/admin_settings',
    component: Layout,
    redirect: '/admin/admin_settings/settings',
    meta: {
      title: '系统设置',
    },
    children: [
      {
        path: 'settings',
        name: 'admin_settings',
        component: () => import('@/views/admin/admin_settings'),
        meta: {
          title: '常规设置',
        }
      },
      {
        path: 'notice',
        name: 'admin_notice',
        component: () => import('@/views/admin/admin_notice'),
        meta: {
          title: '发布公告',
        }
      }


    ]
  }



]
